package com.joysuch.wwyt.bp.bean.investigate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;

/**
 * @Author ZhangDong
 * @Date 2020/12/1 15:20
 */
@Data
public class BpSafeTableTypeBean {

    @ApiModelProperty("主键id-修改时传值")
    private Long id;
    @ApiModelProperty("类型名称")
    @NotEmpty(message = "类型名称不能为空")
    private String typeName;
    @ApiModelProperty("父id")
    private Long parentId = 0L;

}
